package com.happe.foodeasy.manage.service.impl;

import com.happe.foodeasy.manage.dao.PositionMapper;
import com.happe.foodeasy.manage.image.entity.PositionEntity;
import com.happe.foodeasy.manage.service.PositionService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service("positionService")
public class PositionServiceImpl implements PositionService {
    @Resource
    private PositionMapper positionMapper;

    @Override
    public List<PositionEntity> retrieveAllPosition() {
        return positionMapper.selectAll();
    }
}
